package com;

import com.alibaba.fastjson.JSON;
import com.demo.util.HttpUtil;

import java.util.HashMap;
import java.util.Map;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );

        Map<String, Object> param = new HashMap<>(8);
        param.put("method", "delete");
        param.put("shopname", "SQ2822");
        param.put("photoid", "1");
        HttpUtil.postJson("http://10.130.247.29:8000", JSON.toJSONString(param));
    }
}
